<h2>Login</h2>
<center>
<p>Please enter username and password to login to the CCLibrary system.</p>
<?php echo $error; ?> 
<?php echo validation_errors('<p class="errorVal">','</p>'); ?>

<?php echo form_open('authenticate/login'); ?>
<table class="form">
<tr>
<th>Username:</th>
<td><?php echo form_input('username', set_value('username')); ?></td>
</tr>
<tr>
<th>Password:</th>
<td><?php echo form_password('password', ''); ?></td>
</tr>
<tr>
<th align="center" class="tablehead">Action</th>
<td align="center"><br /><?php echo form_submit('', 'Login') ?></td>
</tr>
</table>
<?php echo form_close(); ?>
</center>
